package com.xbongbong.pro.formexplain.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.field.LinkInfoPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/9/23 10:05
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ExplainOperatorDTO extends BaseDTO {
    private static final long serialVersionUID = -3283729214203445611L;

    /**
     * 应用id
     */
    @NotNull(message = "请先选择关联表")
    private Long appId;

    /**
     * 菜单id
     */
    @NotNull(message = "请先选择关联表")
    private Long menuId;

    /**
     * 表单id
     */
    @NotNull(message = "请先选择关联表")
    private Long formId;

    /**
     * 标签字段类型
     */
    @NotNull(message = "标签字段类型不能为空")
    private Integer fieldType;

    /**
     * 类型
     * @see com.xbongbong.pro.enums.businessrule.enums.RuleVersionEnum
     */
    private Integer type;

    /**
     * @see com.xbongbong.saas.enums.XbbRefTypeEnum
     */
    private Integer businessType;

    /**
     * @see com.xbongbong.pro.enums.SaasMarkEnum
     */
    private Integer saasMark;


    private LinkInfoPojo linkInfo;

    private Integer linkedType;
}
